# 构建 android apk 并安装
rm -rf android/app/src/main/assets/*
cp -a api/conf android/app/src/main/assets/
cp -a api/static android/app/src/main/assets/
cp -a api/views android/app/src/main/assets/
gomobile bind -target=android chess/api/chessweb
mv chessweb.aar android/app/libs
rm chessweb-sources.jar
cd android
./gradlew installDebug
adb shell am start -n com.yuncommunity.chess/.MainActivity
cd ..